package net.edu_soft.ec.asset.pojo;

import java.io.Serializable;
import java.util.Date;

public class Apply implements Serializable {
    /**
     * 主键 id
     */
    private Integer applyId;

    /**
     * 申请人
     */
    private String userName;

    /**
     * 产品ids
     */
    private String productIds;

    /**
     * 标题
     */
    private String title;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 申请理由
     */
    private String reason;

    /**
     * 创建时间
     */
    private Date createDate;

    /**
     * 状态0 可用1不可用
     */
    private Integer status;

    private static final long serialVersionUID = 1L;

    public Integer getApplyId() {
        return applyId;
    }

    public void setApplyId(Integer applyId) {
        this.applyId = applyId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getProductIds() {
        return productIds;
    }

    public void setProductIds(String productIds) {
        this.productIds = productIds == null ? null : productIds.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason == null ? null : reason.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", applyId=").append(applyId);
        sb.append(", userName=").append(userName);
        sb.append(", productIds=").append(productIds);
        sb.append(", title=").append(title);
        sb.append(", email=").append(email);
        sb.append(", reason=").append(reason);
        sb.append(", createDate=").append(createDate);
        sb.append(", status=").append(status);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}